// src/api/user.ts

import instance from "./request";



// 注册接口
export const register = (params) => {
  return instance.post("/api/user/v1/register", null, {
    params: params,
  });
};

//获取邮箱验证码接口
export const getEmailCode = (email) => {
  return instance.post("/api/user/v1/sendOutEmailCode", null, {
    params: { email },
  });
};





